//
//  ClickableView.m
//  ABlip
//
//  Created by dawid on 09-02-05.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "ClickableView.h"
#import "AppController.h"

@implementation ClickableView

- (id)initWithFrame:(NSRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code here.
		
		
		[[self window] setAcceptsMouseMovedEvents:YES];
	}
    return self;
}
-(void)mouseDown:(NSEvent*)event 
{
#ifdef __DEBUG__

	NSLog(@"click");

#endif
	[event retain];
	[[AppController shared] ciach:event];
}


@end
